/**
 * @Project Name:cn.hoofungson.studio
 * @Package Name:cn.hoofungson.sso.service
 * @Since JDK 1.8
 */
package cn.hoofungson.sso.service;

import cn.hoofungson.service.generic.service.GenericService;
import cn.hoofungson.sso.model.User;
import org.springframework.http.ResponseEntity;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @Description: 用户业务接口
 * @Author 胡松 hoofungson@163.com
 * @Date 2017-11-10 21:11
 * @Version V1.0
 */
public interface UserService extends GenericService {

    /**
     * 用户登录
     * @param request
     * @param response
     * @param user
     * @return
     * **/
    ResponseEntity<String> login(HttpServletRequest request, HttpServletResponse response, User user);
}
